LanguageManager.getLanguage

Gets the [class@Language] identified by the given @id in the language manager.

class LanguageManager
getLanguage
(
string id
)

Parameters

id string

a language id.

Return Value

Type: Language

a #GtkSourceLanguage, or %NULL if there is no language identified by the given @id. Return value is owned by @lm and should not be freed.

Meta